package com.hkts.beltweigher.master.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author hml
 * @since 2024-04-10
 */
public class MaterialName extends Model<MaterialName> {

private static final long serialVersionUID=1L;

                            private Integer id;
    /**
     * 材料名称
     */
        private String name;


    public Integer getId(){
            return id;
            }

        public void setId(Integer id) {
            this.id = id;
            }

    public String getName(){
            return name;
            }

        public void setName(String name) {
            this.name = name;
            }

    public static final String ID ="id";

    public static final String NAME ="name";

@Override
protected Serializable pkVal(){
            return this.id;
        }

@Override
public String toString() {
        return "MaterialName{" +
                ", id=" + id +
                ", name=" + name +
        "}";
        }
        }
